﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PhoneValidateList.aspx.cs" Inherits="Manage_Cms_PhoneValidateList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>手机认证</title>
    <!--#include file="../js/html_head.inc"-->
    <link rel="stylesheet" type="text/css" href="../Themes/Blue/Style.css" />
</head>
<body>
<%=ManageHelper.PageSucMsg() != "" ? "<div class='msg_succeed' style='width:90%;'>" + ManageHelper.PageSucMsg() + "</div>" : ""%>
    <div class="column">
        <div class="columntitle">手机认证列表</div>
        <table cellspacing="1" cellpadding="3" rules="all" align="center" border="0" 
            style="border-width: 0px; width:100%; border-collapse: collapse;">
            <tr class="summary-title" align="center" style="height: 25px;">
                <td style="width:80px;">认证编号</td>
                <td >认证手机</td>
                <td>认证状态</td>
                <td style="width:120px;">请求时间</td>
                <td style="width:120px;">授理时间</td>
                <td style="width:100px;">操作</td>
            </tr>
            <%
                for (int i = 0; i < dt.Rows.Count; i++)
                { 
                    %>
                    <tr class="tdbg" style="height: 25px;" onmouseover="this.className='tdbg-dark';" onmouseout="this.className='tdbg';" >
                        <td align="center"><%=dt.Rows[i]["Id"].ToString() %></td>
                        <td align="center"><%=phoneList[i].ToString()%></td>
                        <td align="center">
                        <%
                            if (dt.Rows[i]["State"].ToString() == "0")
                            { 
                                %>未处理<%
                            }
                            else if (dt.Rows[i]["State"].ToString() == "1")
                            { 
                                %>未通过<%
                            }
                            else if (dt.Rows[i]["State"].ToString() == "2")
                            { 
                                %>已通过<%
                            }
                            else { }
                         %>                  
                        </td>
                        <td align="center"><%=dt.Rows[i]["RequestTime"].ToString()%></td>
                        <td align="center"><%=dt.Rows[i]["TransactTime"].ToString()=="1900-1-1 0:00:00"?"----":dt.Rows[i]["TransactTime"].ToString()%></td>
                        <td align="center">
                        <%
                            if (dt.Rows[i]["State"].ToString() == "0")
                            { 
                                %>
                                <a style="cursor:pointer;" href="javascript:void(0);">未认证</a><%}
                            else
                            { 
                                %><a href="javascript:void(0);">已认证</a><%
                            }
                         %>
                        </td>
                    </tr>
                    <%
                }
             %>
        </table>
    </div>
    <%=PageShow %>
</body>
</html>